<%@ taglib prefix="html" uri="http://struts.apache.org/tags-html"%>
<%@ taglib prefix="bean" uri="http://struts.apache.org/tags-bean"%>
<%@ taglib prefix="logic" uri="http://struts.apache.org/tags-logic"%>
<%@ taglib prefix="core" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="display" uri="http://displaytag.sf.net"%>
<%@ page contentType="text/html;charset=UTF-8" language="java"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
		<script>
			function showHideSubMenu(ele, menu) {
				if(ele.className == "expanded") {
					ele.className = "collapsed";
					document.getElementById(menu).style.display = "none";
				}
				else {
					
					ele.className = "expanded";
					document.getElementById(menu).style.display = "block";
				}
			}
			$(document).click(function() {
				document.getElementById("ui-id-1").style.display = "none";
			});
		</script>
</head>
<body>
	<div id="pimleftmenu">
		<div style="width:92%;height:200px;overflow:hidden;" id="currentImage">
			<center>
				<a href="./empPicture?empNumber=<% out.print(request.getAttribute("emp_num")); %>">
					<img width="150" height="180" border="0" id="empPic" src="./empPicture?empNumber=<% out.print(request.getAttribute("emp_num")); %>" alt="Profile Picture"/>
				</a>
			</center>
			<center>
				<span style="clear: both" class="smallHelpText"><strong><% out.print(request.getAttribute("emp_fullname")); %></strong></span>
			</center>
		</div>

		<ul class="pimleftmenu">
			<li class="l1 parent">
				<a onclick="showHideSubMenu(this, 'personal');" class="expanded" href="#">
					<span class="parent personal">Personal</span></a>
				<ul class="l2" id="personal">
					<li class="l2">
						<a accesskey="p" class="personal" id="personalLink" href="empPersonalDetailUpdate.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Personal Details</span></a></li>
					
					<li class="l2">
						<a accesskey="c" class="personal" id="contactsLink" href="empContactDetailUpdate.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Contact Details</span></a></li>
							
					<li class="l2">
						<a accesskey="c" class="personal" id="contactsLink" href="empLoginDetailUpdate.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Login Details</span></a></li>
					
					<li class="l2">
						<a accesskey="m" class="personal" id="membershipsLink" href="empEmergencyContactList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Emergency Contacts</span>
						</a>

					<li class="l2">
						<a accesskey="d" class="personal" id="dependentsLink" href="empDependentList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Dependents</span></a></li>

					<li class="l2">
						<a class="employment" accesskey="j" id="jobLink" href="empJobList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Job</span></a></li>
												 
					<li class="l2">
						<a accesskey="s" class="employment" id="paymentsLink" href="empSalaryList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Salary</span></a></li>
							
					<li class="l2">
						<a accesskey="s" class="employment" id="paymentsLink" href="empCompensationList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Compensations</span></a></li>

					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="empSupervisorList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Supervisors</span></a></li> 
							
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="empSubordinateList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Subordinates</span></a></li> 
							
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="empExperienceList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Experience</span></a></li> 
							
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="empEducationList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Education</span></a></li> 
							
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="empSkillList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Skills</span></a></li> 
					
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="empLanguageList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Languages</span></a></li> 
							
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="empLicenseList.do?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Licenses</span></a></li> 
					<li class="l2">
						<a accesskey="r" class="employment" id="report-toLink" href="./EmployeeCV?id=<% out.print(request.getAttribute("emp_num")); %>">
							<span>Curriculum Vitae</span></a></li> 
					</ul>
				</li>
		</ul>
	</div>
</body>
</html>